package com.lxw.DescriptPatterns.MaterialObject;import com.lxw.DescriptPatterns.BaseObject.Beverage;import com.lxw.DescriptPatterns.DescriptObject.CondimentDecorator;public class Mocha extends CondimentDecorator {    Beverage beverage;    public Mocha(Beverage beverage) {        this.beverage = beverage;    }    public String getDescription() {        return beverage.getDescription()+",摩卡";    }    public double cost() {        return .20+beverage.cost();    }}